ul {
  text-decoration: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
a:hover {
  text-decoration: none;
}
body {
  background-color: #f5f5f5;
}
.container {
  background-color: #fff;
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 修改.container的宽度 设计稿上一样的 */
@media screen and (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}
@media screen and (max-width: 991px) {
  .nav {
    margin-bottom: 10px;
  }
  .nav li {
    float: left;
    width: 20%;
  }
}
@media screen and (max-width: 767px) {
  .nav li a {
    margin: 10px !important;
    font-size: 12px;
  }
  .news li:nth-child(1) {
    width: 100% !important;
  }
  .news li {
    width: 50% !important;
  }
  .publish h3 {
    font-size: 18px;
  }
}
header {
  padding-left: 0 !important;
}
header .log {
  background-color: #3795DA;
}
header .log img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
header .log span {
  display: block;
  height: 50px;
  line-height: 50px;
  text-align: center;
  width: 100%;
  font-size: 18px ;
  color: #fff;
}
header .nav {
  background-color: #ECEEEB;
  border-bottom: 1px solid #ccc;
  display: block;
}
header .nav ul li:hover {
  background-color: #fff;
}
header .nav ul li a {
  height: 50px;
  line-height: 50px;
  margin-left: 50px;
  color: #333;
}
header .nav ul li a::before {
  line-height: 50px;
  vertical-align: middle;
  margin-right: 5px;
}
.news ul li {
  float: left;
  width: 25%;
  height: 128px;
  padding-right: 10px;
  margin-bottom: 10px;
}
.news ul li:nth-child(1) {
  width: 50%;
  height: 266px;
}
.news ul li:nth-child(1) p {
  font-size: 20px;
}
.news ul li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.news ul li a img {
  width: 100%;
  height: 100%;
}
.news ul li a p {
  position: absolute;
  height: 41px;
  line-height: 41px;
  padding-left: 10px;
  left: 0px;
  bottom: 0px;
  font-size: 12px;
  width: 100%;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}
.publish {
  border-top: 1px solid #ccc;
}
.publish img {
  margin-top: 20px;
  display: block;
  width: 100%;
  height: 100%;
}
.publish .row {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}
.banner a {
  display: block;
}
.banner img {
  width: 100%;
  height: 100%;
}
.banner .banner-p {
  border: 1px solid #333;
  margin-top: 20px;
  padding: 0px  10px 30px;
}
.banner .banner-p span {
  font-size: 16px;
  margin-bottom: 20px;
  display: inline-table;
  padding: 10px 20px;
}
